package com.simtop.dao;

import com.simtop.pojo.Operate;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lvyongwei
 */
@Mapper
public interface OperateDao {

    /**
     * 添加日志信息
     * @param operate
     * @return
     */
    public boolean insertOperate(Operate operate);

    /**
     * 获取日志信息
     * @param operate
     * @return
     */
    public List<Operate> getOperate(Operate operate);
}
